package test;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * user:likai
 * Date:2023-01-22
 * Time:19:09
 */
@Service
public class ServiceTest1 {
    private RepositoryTest1 repositoryTest1;
    @Autowired
    public void setRepositoryTest1(RepositoryTest1 repositoryTest1) {
        this.repositoryTest1 = repositoryTest1;
    }
    public User getUser(int x){
        return repositoryTest1.user(x);
    }
}
